package com.action.gulimall.seckill.feign;

import com.action.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @author sl shilun217@qq.com
 * @Deacription 
 * @date 2021/07/04/20:22
 **/
@FeignClient("gulimall-product")
public interface ProductFeignService {

    @PostMapping("/product/skuinfo/infos")
    R getSkuInfos(@RequestBody List<Long> skuIds);
}
